package com.dj.msgtable.bean;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 分页结果数据bean
 * @author Erwin Feng[xfsy_2015@163.com]
 * @since 2019/12/4 00:11
 */
@Data
@Accessors(chain = true)
public class PageResultDataBean {

    /** 总条数 */
    private Long total;

    /** 每页大小 */
    private Integer size;

    /** 页数 */
    private Long pages;

    /** 当前页 */
    private Long current;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Long getPages() {
        return pages;
    }

    public void setPages(Long pages) {
        this.pages = pages;
    }

    public Long getCurrent() {
        return current;
    }

    public void setCurrent(Long current) {
        this.current = current;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }

    /** 数据 */
    private List<?> data;

}
